Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail-on: rework feature #1462

Merged
merged 5 commits into from
Jun 23, 2023
Merged

fail-on: rework feature #1462

merged 5 commits into from
Jun 23, 2023

Conversation

elopez
Copy link
Member

@elopez elopez commented Nov 8, 2022

This adds a new fail_on config option that can be changed with a mutually exclusive group of argument flags. It also decouples the exclude_* and fail_on flags, so you can do things like fail_on: pedantic while disabling optimization findings. Additionally, this adds some new code to detect the old-style config options, migrate their settings, and alert the user.

Fixes #1458

@elopez elopez requested a review from 0xalpharush November 8, 2022 22:51
@elopez
Copy link
Member Author

elopez commented Nov 8, 2022

This has only been tested very lightly at this time

This adds a new `fail_on` config option that can be changed with
a mutually exclusive group of argument flags. It also decouples
the exclude_* and fail_on flags, so you can do things like
`fail_on: pedantic` while disabling optimization findings.
Additionally, this adds some new code to detect the old-style
config options, migrate their settings, and alert the user.

Fixes crytic#1458
@elopez elopez force-pushed the dev-reworked-fail-on branch from 38f1dd8 to 0ee1c64 Compare November 8, 2022 22:53
@lgtm-com
Copy link

lgtm-com bot commented Nov 8, 2022

This pull request introduces 1 alert when merging 0ee1c64 into 440ac4b - view on LGTM.com

new alerts:

  • 1 for Unused import

@0xalpharush 0xalpharush added this to the 0.9.4 milestone Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants